/**
 * 
 */
package com.primestone.cim.newdata;

import javax.annotation.Resource;
import javax.jws.WebService;
import javax.sql.DataSource;
import javax.xml.ws.Holder;

import com.primestone.cim.util.StringUtil;

/**
 * @author cesar.mateus
 *
 */
@WebService
public class GetNewDataPortImpl implements GetNewDataPort {

	@Resource(name = StringUtil.RES_DS)
	DataSource dataSource;
	
	/* (non-Javadoc)
	 * @see com.primestone.cim.newdata.GetNewDataPort#getNewData(javax.xml.ws.Holder, com.primestone.cim.newdata.GetNewDataRequestType, javax.xml.ws.Holder, javax.xml.ws.Holder)
	 */
	@Override
	public void getNewData(Holder<HeaderType> header,
			GetNewDataRequestType request, Holder<NewDataPayloadType> payload,
			Holder<ReplyType> reply) throws FaultMessage {
		
		FaultMessage faultMessage = null;
		try {
			System.out.println("---- Receiving a call...");
			//TODO
			
		} catch (Throwable e) {
			
		} finally {
			
		}

	}

}
